#include "Shm.hpp"

int main()
{
    ShareMemory Shm;
    Shm.Creat();
    Shm.Attach();
    while (true)
    {
        char *ch;
        Shm.PopChar(ch);
        std::cout<<ch<<" "<<std::endl;
    }
    Shm.Dttch();
    Shm.RemoveShm();
    return 0;
}